﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharpSoft.Geometries
{
    /// <summary>
    /// 坐标点滤波器接口
    /// </summary>
    public interface IPointFilter
    {
        /// <summary>
        /// 重置滤波器参数
        /// </summary>
        /// <param name="initPoint">初始坐标点</param>  
        void Reset(Point2D initPoint);
        /// <summary>
        /// 输入新坐标
        /// </summary>
        /// <param name="p">新的测量点</param>
        /// <param name="time">帧时间</param>
        /// <returns></returns>
        Point2D Update(Point2D p, double time);

    }
}
